<?php
/**
 * Created by PhpStorm.
 * User: jin
 * Date: 2015/9/11
 * Time: 10:53
 */

namespace block;


class Conf
{
    static $blockPath = '/';
    static $blockCache = '/';
    static $blockRemoteUrl = 'http://api.snsnb.com/Block/index.php/Home/Index/outputBlock';
    function __construct()
    {
        self::$blockPath = __DIR__.'/';
        self::$blockCache = __DIR__.'/cache/';
    }
    static function getPasswordKey()
    {
        date_default_timezone_set('PRC');
        $key = date('Y-m-d',time());
        return $key;
    }
    static function getPassword()
    {
        return md5('sdfgsdfgq3452312$@#$%$%^');
    }
}